A parallelism-motivated sequential sorting framework
نویسنده
چکیده
We employ techniques developed and used in the design of parallel sorting algorithms to propose a new framework for sequential sorting. This framework is then used to design new deterministic and randomized sorting methods whose asymptotic worst-case running time can match the existing lower bound for sorting, yet their practical performance, as witnessed by an experimental study, surpasses existing optimized sorting algorithm implementations. We adapt in the proposed new framework techniques used for parallel sorting such as deterministic regular sampling and random oversampling. We extend the notion of deterministic regular sampling into deterministic regular oversampling for sequential sorting and show its potential along with the previously available technique of random oversampling. We then show how our newly developed techniques can utilize and potentially speedup several existing sequential sorting algorithms. Experimental results based on an implementation of our two methods support our efficiency claims. Our new approach maintains better locality of reference and can naturally benefit from multicore architectures. This is to our knowledge the first time that sequential computing can beneficially draw from parallel computing techniques.
منابع مشابه
Estimating Potential Parallelism by Data-Dependence Profiling
With the rise of multi-core consumer hardware, today’s software developers face the challenging task of refactoring existing sequential code assets with a view to exploiting modern multi-core processors’ parallel execution capabilities. While there is a growing range of methods to support parallelism in software products, a software engineer nonetheless has to decide which parts of an already e...
متن کاملUsing parallelism techniques to improve sequential and multi-core sorting performance
We propose new sequential sorting operations by adapting techniques and methods used for designing parallel sorting algorithms. Although the norm is to parallelize a sequential algorithm to improve performance, we adapt a contrarian approach: we employ parallel computing techniques to speed up sequential sorting. Our methods can also work for multi-core sorting with minor adjustments that do no...
متن کاملA high-performance sorting algorithm for multicore single-instruction multiple-data processors
Many sorting algorithms have been studied in the past, but there are only a few algorithms that can effectively exploit both SIMD instructions and thread-level parallelism. In this paper, we propose a new high-performance sorting algorithm, called Aligned-Access sort (AA-sort), for exploiting both the SIMD instructions and thread-level parallelism available on today's multicore processors. Our ...
متن کاملA New Model for Location-Allocation Problem within Queuing Framework
This paper proposes a bi-objective model for the facility location problem under a congestion system. The idea of the model is motivated by applications of locating servers in bank automated teller machines (ATMS), communication networks, and so on. This model can be specifically considered for situations in which fixed service facilities are congested by stochastic demand within queueing frame...
متن کاملParallel String Sample Sort
We discuss how string sorting algorithms can be parallelized on modern multi-core shared memory machines. As a synthesis of the best sequential string sorting algorithms and successful parallel sorting algorithms for atomic objects, we propose string sample sort. The algorithm makes effective use of the memory hierarchy, uses additional word level parallelism, and largely avoids branch mispredi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008